<?php
/**
 * Created by PhpStorm.
 * User: R.Ice
 * Date: 2018/12/25
 * Time: 12:05
 * name:更新绩效提成配置
 * url:/erpAdministrativeFinance/update_achievement_config
 */

$oac_id = $route->bodyParams["oac_id"];//主键ID

//更新条件
$whereArr = [
    "oac_id" => $oac_id
];

$updateArr = deleteArrData($whereArr,$route->bodyParams);

//执行写入语句
$rsData = $db->mysqlDB->update("oa_achievement_config",$whereArr,$updateArr);

//返回成功结果
$response->responseData( true, $rsData );